package com.init.iblog.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.init.iblog.domain.entity.BlogTag;
import com.init.iblog.mapper.BlogMapper;
import com.init.iblog.mapper.BlogTagMapper;
import com.init.iblog.service.BlogTagService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 文章标签关联表(BlogTag)表服务实现类
 *
 * @author makejava
 * @since 2023-03-08 21:38:06
 */
@Service("blogTagService")
public class BlogTagServiceImpl extends ServiceImpl<BlogTagMapper, BlogTag> implements BlogTagService {

    @Autowired(required = false)
    private BlogTagMapper blogTagMapper;

    @Override
    public int deleteBlogTag(Long id) {
        return blogTagMapper.deleteBlogTag(id);
    }
}
